.class Lcom/example/m6wmr/GiftActivity$1;
.super Landroid/os/Handler;
.source "GiftActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/GiftActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/GiftActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/GiftActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    .line 101
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 103
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 104
    iget v2, p1, Landroid/os/Message;->arg1:I

    sparse-switch v2, :sswitch_data_0

    .line 150
    :goto_0
    :sswitch_0
    return-void

    .line 108
    :sswitch_1
    iget-object v2, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    const-string v3, "nologin"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 109
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    invoke-virtual {v2}, Lcom/example/m6wmr/GiftActivity;->waitlogin()V

    goto :goto_0

    .line 112
    :cond_0
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    # getter for: Lcom/example/m6wmr/GiftActivity;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/GiftActivity;->access$3(Lcom/example/m6wmr/GiftActivity;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u63d0\u793a\u4fe1\u606f"

    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 116
    :sswitch_2
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    # getter for: Lcom/example/m6wmr/GiftActivity;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/GiftActivity;->access$3(Lcom/example/m6wmr/GiftActivity;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u4fe1\u606f\u83b7\u53d6\u7ed3\u679c"

    const-string v4, "\u8fd4\u56de\u7ed3\u679c\u4e3a\u7a7a"

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 119
    :sswitch_3
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    invoke-virtual {v2}, Lcom/example/m6wmr/GiftActivity;->loadgiftdata()V

    goto :goto_0

    .line 122
    :sswitch_4
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    const/4 v3, 0x1

    invoke-static {v2, v3}, Lcom/example/m6wmr/GiftActivity;->access$4(Lcom/example/m6wmr/GiftActivity;I)V

    .line 123
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    invoke-virtual {v2}, Lcom/example/m6wmr/GiftActivity;->selectonegiftdata()V

    goto :goto_0

    .line 126
    :sswitch_5
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    # getter for: Lcom/example/m6wmr/GiftActivity;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/GiftActivity;->access$3(Lcom/example/m6wmr/GiftActivity;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u793c\u54c1\u5151\u6362"

    const-string v4, "\u5151\u6362\u6210\u529f"

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 127
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    const/4 v3, 0x0

    invoke-static {v2, v3}, Lcom/example/m6wmr/GiftActivity;->access$4(Lcom/example/m6wmr/GiftActivity;I)V

    .line 128
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    invoke-virtual {v2}, Lcom/example/m6wmr/GiftActivity;->loadgiftdata()V

    goto :goto_0

    .line 131
    :sswitch_6
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    # getter for: Lcom/example/m6wmr/GiftActivity;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/GiftActivity;->access$3(Lcom/example/m6wmr/GiftActivity;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u5b9a\u4f4d\u4fe1\u606f"

    iget-object v4, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    iget-object v4, v4, Lcom/example/m6wmr/GiftActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v4}, Lmyapp/MyApp;->getMapname()Ljava/lang/String;

    move-result-object v4

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 140
    :sswitch_7
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    # getter for: Lcom/example/m6wmr/GiftActivity;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/GiftActivity;->access$3(Lcom/example/m6wmr/GiftActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    .line 141
    .local v0, "layoutInflater":Landroid/view/LayoutInflater;
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    const v3, 0x7f0300b6

    const/4 v4, 0x0

    invoke-virtual {v0, v3, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    iput-object v3, v2, Lcom/example/m6wmr/GiftActivity;->myLoginView:Landroid/view/View;

    .line 142
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    iget-object v2, v2, Lcom/example/m6wmr/GiftActivity;->myLoginView:Landroid/view/View;

    const v3, 0x7f0c0366

    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    .line 143
    .local v1, "selectview":Landroid/widget/LinearLayout;
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$1;->this$0:Lcom/example/m6wmr/GiftActivity;

    # getter for: Lcom/example/m6wmr/GiftActivity;->mPopupWindow:Landroid/widget/PopupWindow;
    invoke-static {v2}, Lcom/example/m6wmr/GiftActivity;->access$5(Lcom/example/m6wmr/GiftActivity;)Landroid/widget/PopupWindow;

    move-result-object v2

    invoke-virtual {v2, v1}, Landroid/widget/PopupWindow;->setContentView(Landroid/view/View;)V

    goto/16 :goto_0

    .line 104
    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x1 -> :sswitch_1
        0x2 -> :sswitch_2
        0x3 -> :sswitch_3
        0x4 -> :sswitch_4
        0x6 -> :sswitch_5
        0x21 -> :sswitch_0
        0x2c -> :sswitch_7
        0x6f -> :sswitch_6
    .end sparse-switch
.end method
